﻿<phone:PhoneApplicationPage 
    x:Class="Sinergija13.WP7App.Views.ConfInfoView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" 
    xmlns:b="clr-namespace:Sinergija13.WP7App.Infrastructure.Behaviours"
    xmlns:prismInteractivity="clr-namespace:Microsoft.Practices.Prism.Interactivity;assembly=Microsoft.Practices.Prism.Interactivity"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit" 
    xmlns:prismInteractionRequest="clr-namespace:Microsoft.Practices.Prism.Interactivity.InteractionRequest;assembly=Microsoft.Practices.Prism.Interactivity"
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="False"
    
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="White"
    
    Style="{StaticResource TransitionPageStyle}"
    
    DataContext="{Binding Source={StaticResource ViewModelLocator}, Path=ConfInfoViewModel}"
    
    toolkit:TiltEffect.IsTiltEnabled="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <!--Pivot Control-->
        <controls:Pivot Title="Sinergija 13 - event info" Foreground="White">
            <controls:Pivot.Background>
                <ImageBrush ImageSource="/Sinergija13.WP7App;component/Resources/Images/Background3.jpg"/>
            </controls:Pivot.Background>
            <!--Pivot item one-->
            <controls:PivotItem Header="lokacija">
                <StackPanel Orientation="Vertical">
                    <Image VerticalAlignment="Top" Margin="10,0,10,10" Source="/Sinergija13.WP7App;component/Resources/Images/Map.png">
                        <i:Interaction.Triggers>
                            <i:EventTrigger EventName="Tap">
                                <i:InvokeCommandAction Command="{Binding BingMapCommand}"/>
                            </i:EventTrigger>
                        </i:Interaction.Triggers>
                    </Image>
                    <StackPanel Orientation="Horizontal">
                        <Button Height="90" Width="90" BorderBrush="White">
                            <Button.Content>
                                <Image Source="/Resources/Icons/Dark/feature.pushpin.png" Height="48" Width="48"
                                       HorizontalAlignment="Center" VerticalAlignment="Center"/>
                            </Button.Content>
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Tap">
                                    <i:InvokeCommandAction Command="{Binding BingMapCommand}"/>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                        <TextBlock VerticalAlignment="Center"
                            Text="Milentija Popovića 5, Belgrade, Serbia" Foreground="White"/>
                    </StackPanel>
                    <StackPanel Orientation="Horizontal">
                        <Button Height="90" Width="90" BorderBrush="White">
                            <Button.Content>
                                <Image Source="/Resources/Icons/feature.mail.png" Height="48" Width="48"
                                       HorizontalAlignment="Center" VerticalAlignment="Center"/>
                            </Button.Content>
                            <i:Interaction.Triggers>
                                <i:EventTrigger EventName="Tap">
                                    <i:InvokeCommandAction Command="{Binding EmailCommand}"/>
                                </i:EventTrigger>
                            </i:Interaction.Triggers>
                        </Button>
                        <TextBlock VerticalAlignment="Center" Foreground="White"
                            Text="info@mssinergija.net"/>
                    </StackPanel>
                </StackPanel>
            </controls:PivotItem>

            <!--Pivot item two-->
            <controls:PivotItem Header="floormap">
                <StackPanel Orientation="Vertical">
                    <Grid Margin="0,0,10,0">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*"/>
                            <ColumnDefinition Width="*"/>
                        </Grid.ColumnDefinitions>
                        <Grid Grid.Column="0" >
                            <Grid.RowDefinitions>
                                <RowDefinition Height="2*"/>
                                <RowDefinition Height="1*"/>
                            </Grid.RowDefinitions>
                            <Grid Grid.Row="1" Background="#aa00b294" Width="140" Height="88" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,0,0,10">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                </Grid.RowDefinitions>
                                <TextBlock Grid.Row="0" Text="Budva" FontFamily="{StaticResource PhoneFontFamilyLight}" FontSize="18" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,5,0,-2"/>
                                <TextBlock Grid.Row="1" Text="6" FontSize="45" VerticalAlignment="Top" HorizontalAlignment="Center"/>
                            </Grid>
                            <Grid Background="#aacccccc" Margin="0,0,0,10">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="*"/>
                                    <RowDefinition Height="2*"/>
                                    <RowDefinition Height="*"/>
                                </Grid.RowDefinitions>
                                <Grid Grid.Row="0" Background="#aa00b294" Width="140" Height="88" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,0,0,10">
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto"/>
                                        <RowDefinition Height="Auto"/>
                                    </Grid.RowDefinitions>
                                    <TextBlock Grid.Row="0" Text="Ellington's" FontFamily="{StaticResource PhoneFontFamilyLight}" FontSize="18" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,5,0,-2"/>
                                    <TextBlock Grid.Row="1" Text="7" FontSize="45" VerticalAlignment="Top" HorizontalAlignment="Center"/>
                                </Grid>
                                <TextBlock Grid.Row="1" Foreground="Black" Text="Level -1" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="30"/>
                                <Grid Grid.Row="2" Background="#aa7a7a7a" Width="140" Height="88" HorizontalAlignment="Center" Margin="0,0,0,-4">
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="Auto"/>
                                        <RowDefinition Height="*"/>
                                    </Grid.RowDefinitions>
                                    <TextBlock Grid.Row="0" Text="Stairs" FontFamily="{StaticResource PhoneFontFamilyNormal}" FontSize="25" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,10,0,0"/>
                                    <Grid Grid.Row="1">
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="*"/>
                                            <RowDefinition Height="*"/>
                                            <RowDefinition Height="*"/>
                                            <RowDefinition Height="*"/>
                                            <RowDefinition Height="*"/>
                                        </Grid.RowDefinitions>
                                        <Rectangle Grid.Row="1" Fill="#AA4B4949" HorizontalAlignment="Center" Width="95"/>
                                        <Rectangle Grid.Row="2" Fill="#AA5F5E5E" HorizontalAlignment="Center" Width="110"/>
                                        <Rectangle Grid.Row="3" Fill="#AA747373" HorizontalAlignment="Center" Width="125"/>
                                        <Rectangle Grid.Row="4" Fill="#AA808080" HorizontalAlignment="Center" Width="140"/>
                                    </Grid>
                                </Grid>
                            </Grid>
                        </Grid>
                        <StackPanel Grid.Column="1" Orientation="Vertical">
                            <Grid Background="#aaff8c00" Width="140" Height="90" HorizontalAlignment="Right" Margin="0,0,0,10">
                                <TextBlock Text="Registracija" FontSize="20" VerticalAlignment="Center" HorizontalAlignment="Center" />
                            </Grid>
                            <Grid Background="#aa00b294" Width="140" Height="88" HorizontalAlignment="Right" Margin="0,0,0,10">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                </Grid.RowDefinitions>
                                <TextBlock Grid.Row="0" Text="Kristal A" FontFamily="{StaticResource PhoneFontFamilyLight}" FontSize="18" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,5,0,-2"/>
                                <TextBlock Grid.Row="1" Text="1" FontSize="45" VerticalAlignment="Top" HorizontalAlignment="Center"/>
                            </Grid>
                            <Grid Background="#aa00b294" Width="140" Height="88" HorizontalAlignment="Right" Margin="0,0,0,10">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                </Grid.RowDefinitions>
                                <TextBlock Grid.Row="0" Text="Kristal B" FontFamily="{StaticResource PhoneFontFamilyLight}" FontSize="18" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,5,0,-2"/>
                                <TextBlock Grid.Row="1" Text="2" FontSize="45" VerticalAlignment="Top" HorizontalAlignment="Center"/>
                            </Grid>
                            <Grid Background="#aa00b294" Width="140" Height="88" HorizontalAlignment="Right" Margin="0,0,0,10">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                </Grid.RowDefinitions>
                                <TextBlock Grid.Row="0" Text="Kristal C" FontFamily="{StaticResource PhoneFontFamilyLight}" FontSize="18" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,5,0,-2"/>
                                <TextBlock Grid.Row="1" Text="3" FontSize="45" VerticalAlignment="Top" HorizontalAlignment="Center"/>
                            </Grid>
                            <Grid Background="#aa00b294" Width="140" Height="88" HorizontalAlignment="Right" Margin="0,0,0,10">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                </Grid.RowDefinitions>
                                <TextBlock Grid.Row="0" Text="Kopaonik" FontFamily="{StaticResource PhoneFontFamilyLight}" FontSize="18" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,5,0,-2"/>
                                <TextBlock Grid.Row="1" Text="4" FontSize="45" VerticalAlignment="Top" HorizontalAlignment="Center"/>
                            </Grid>
                            <Grid Background="#aa00b294" Width="140" Height="88" HorizontalAlignment="Right" Margin="0,0,0,10">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                </Grid.RowDefinitions>
                                <TextBlock Grid.Row="0" Text="Beograd" FontFamily="{StaticResource PhoneFontFamilyLight}" FontSize="18" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,5,0,-2"/>
                                <TextBlock Grid.Row="1" Text="5" FontSize="45" VerticalAlignment="Top" HorizontalAlignment="Center"/>
                            </Grid>
                        </StackPanel>
                    </Grid>
                    <TextBlock Text="Level 0" HorizontalAlignment="Center" FontSize="30"/>
                </StackPanel>              
            </controls:PivotItem>
        </controls:Pivot>
    </Grid>
</phone:PhoneApplicationPage>